/**
 * Created by lwy on 2017/6/28.
 */
    $(function(){
        if(getItem('userType')=='1'){
            $('#showname').html('商户名称');
        }
    })
var detail=decodeURI(decodeURI(window.location.href)).split('=');
var code = detail[1].split('&')[0];
var name = detail[2].split('&')[0];
var goodsName = detail[3].split('&')[0];
var goodsNum = detail[4].split('&')[0];
var goodsPrice = detail[5].split('&')[0];
var total = detail[6].split('&')[0];
var payMoney = detail[8].split('&')[0];
$('#name').html(name);
$('#code').html(code);
$('#goodsName').html(goodsName);
$('#goodsNum').html(goodsNum);
$('#goodsPrice').html(goodsPrice);
$('#total').html(total);
$('#payMoney').html(payMoney);
